import request from '@/utils/request'

// 查询采剥生产分析列表
export function listIonanalysis(query) {
  return request({
    url: '/app/ionanalysis/list',
    method: 'get',
    params: query
  })
}

// 查询采剥生产分析详细
export function getIonanalysis(id) {
  return request({
    url: '/app/ionanalysis/' + id,
    method: 'get'
  })
}

// 新增采剥生产分析
export function addIonanalysis(data) {
  return request({
    url: '/app/ionanalysis',
    method: 'post',
    data: data
  })
}

// 修改采剥生产分析
export function updateIonanalysis(data) {
  return request({
    url: '/app/ionanalysis',
    method: 'put',
    data: data
  })
}

// 删除采剥生产分析
export function delIonanalysis(id) {
  return request({
    url: '/app/ionanalysis/' + id,
    method: 'delete'
  })
}
